import os

if __name__ == '__main__':
    input_folder = '../Wave'
    output_folder = '../Wave22050'
    for file in os.listdir(input_folder):
        print(file)
        os.system('ffmpeg -i {}/{} -ar 22050 {}/{}'.format(input_folder, file, output_folder, file))
